<template>
    <div class="top-menu-wrap">
        <div class="ipt"></div>
        <div class="mid">
            <div class="menu-item">移动端</div>
            <div class="menu-item-active">前端</div>
            <div class="menu-item">物联网</div>
            <div class="menu-item">服务端</div>
        </div>
    </div>
</template>

<script>
export default {
    name: "SiderBarTop",
}
</script>

<style>

.top-menu-wrap {
    display: flex;
    height: 60px;
    background-color: #001529;
}

.ipt {
    width: 200px;
    height: 40px;
    background-color: #666;
    margin: 10px 20px;
}
.mid {
    display: flex;
    flex: 1;
    justify-content: left;
    color: #fff;
    text-align: center;
}

.menu-item {
    width: 100px;
    height: 60px;
    line-height: 60px;
}

.menu-item-active {
    width: 100px;
    height: 60px;
    line-height: 60px;
    background-color: #1890ff;
}

.right {
    width: 200px;

}


</style>